package com.room.search.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Properties specific to Room Admin.
 * <p>
 * Properties are configured in the {@code application.yml} file.
 * See {@link tech.jhipster.config.JHipsterProperties} for a good example.
 */
@ConfigurationProperties(prefix = "application", ignoreUnknownFields = false)
public class ApplicationProperties {

    private WeatherProperties weather;

    private BaiduMapProperties baiduMap;


    public WeatherProperties getWeather() {
        return weather;
    }

    public void setWeather(WeatherProperties weather) {
        this.weather = weather;
    }

    public BaiduMapProperties getBaiduMap() {
        return baiduMap;
    }

    public ApplicationProperties setBaiduMap(BaiduMapProperties baiduMap) {
        this.baiduMap = baiduMap;
        return this;
    }
}
